package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.BookType;
import com.example.demo.mapper.BookTypeMapper;
import com.example.demo.service.BookTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BookTypeServiceImpl  extends ServiceImpl<BookTypeMapper, BookType>  implements BookTypeService {

    @Autowired
    private BookTypeMapper bookTypeMapper;


    public List<BookType> list(){
        List<BookType> list = bookTypeMapper.superbList();
        return list;

    };

}
